µVision Build Log
Tool Versions:
IDE-Version: µVision V5.41.0.0 Copyright (C) 2024 ARM Ltd and ARM Germany GmbH. All rights reserved. License Information: a s, d, LIC=SDA0P-MERAN-SB8EJ-U2W64-5KID0-PFBN3 Tool Versions: Toolchain: MDK-ARM Plus Version: 5.41.0.0 Toolchain Path: C:\Keil_v5_41\ARM\ARMCLANG\Bin C Compiler: ArmClang.exe V6.22 Assembler: Armasm.exe V6.22 Linker/Locator: ArmLink.exe V6.22 Library Manager: ArmAr.exe V6.22 Hex Converter: FromElf.exe V6.22 CPU DLL: SARMCM3.DLL V5.41.0.0 Dialog DLL: DCM.DLL V1.17.5.0 Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.3.0.0 Dialog DLL: TCM.DLL V1.56.4.0Project:
F:\set\workspace\setcorp\set506\git_project\ds128b20\john_proj\ds18b20-MODBUS\john103C8T6\MDK-ARM\john103C6T6.uvprojx Project File Date: 02/13/2026Output:
*** Using Compiler 'V6.22', folder: 'C:\Keil_v5_41\ARM\ARMCLANG\Bin' Build target 'john103C6T6' assembling startup_stm32f103x6.s... ../Core/Src/adc.c(21): warning: In file included from... ../Core/Inc\adc.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling adc.c... ../Core/Src/main.c(20): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ ../Core/Src/main.c(36): error: 'modbus.h' file not found 36 | #include "modbus.h" | ^~~~~~~~~~ 6 errors generated. compiling main.c... ../Core/Src/i2c.c(21): warning: In file included from... ../Core/Inc\i2c.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling i2c.c... ../Core/Src/can.c(21): warning: In file included from... ../Core/Inc\can.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling can.c... ../Core/Src/gpio.c(22): warning: In file included from... ../Core/Inc\gpio.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling gpio.c... ../Core/Src/rtc.c(21): warning: In file included from... ../Core/Inc\rtc.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling rtc.c... ../Core/Src/spi.c(21): warning: In file included from... ../Core/Inc\spi.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling spi.c... ../Core/Src/tim.c(21): warning: In file included from... ../Core/Inc\tim.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling tim.c... ../Core/Src/usart.c(21): warning: In file included from... ../Core/Inc\usart.h(29): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling usart.c... ../Core/Src/stm32f1xx_it.c(21): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ ../Core/Src/stm32f1xx_it.c(25): error: 'modbus.h' file not found 25 | #include "modbus.h" | ^~~~~~~~~~ 6 errors generated. compiling stm32f1xx_it.c... ../Core/Src/stm32f1xx_hal_msp.c(22): warning: In file included from... ../Core/Inc\main.h(100): error: use of undeclared identifier 'MAX_SENSE' 100 | uint16_t handle_valves(TEMP_TypeDef* temp_sense[MAX_SENSE]); | ^ ../Core/Inc\main.h(104): error: unknown type name 'MB_DataStructureTypeDef' 104 | FuncStat Field_modbus(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag); | ^ ../Core/Inc\main.h(105): error: unknown type name 'MB_DataStructureTypeDef' 105 | FuncStat packStruct(MB_DataStructureTypeDef* MB_DATA,int sizeARR); | ^ ../Core/Inc\main.h(106): error: unknown type name 'MB_DataStructureTypeDef' 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^ ../Core/Inc\main.h(106): error: unknown type name 'DALLAS_HandleTypeDef'; did you mean 'DMA_HandleTypeDef'? 106 | void Check_Tconnect(MB_DataStructureTypeDef* MB_DATA, Flags_TypeDef* flag ,DALLAS_HandleTypeDef* hdallas, int a[50]); | ^~~~~~~~~~~~~~~~~~~~ | DMA_HandleTypeDef ../Drivers/STM32F1xx_HAL_Driver/Inc\stm32f1xx_hal_dma.h(136): note: 'DMA_HandleTypeDef' declared here 136 | } DMA_HandleTypeDef; | ^ 5 errors generated. compiling stm32f1xx_hal_msp.c... compiling stm32f1xx_hal_timebase_tim.c... compiling stm32f1xx_hal_gpio_ex.c... compiling stm32f1xx_hal_tim.c... compiling stm32f1xx_hal_tim_ex.c... compiling stm32f1xx_hal_rcc_ex.c... compiling stm32f1xx_hal_gpio.c... compiling stm32f1xx_hal_rcc.c... compiling stm32f1xx_hal.c... compiling stm32f1xx_hal_adc.c... compiling stm32f1xx_hal_adc_ex.c... compiling stm32f1xx_hal_pwr.c... compiling stm32f1xx_hal_cortex.c... compiling stm32f1xx_hal_flash.c... compiling stm32f1xx_hal_dma.c... compiling stm32f1xx_hal_exti.c... compiling stm32f1xx_hal_flash_ex.c... compiling stm32f1xx_hal_can.c... compiling stm32f1xx_hal_rtc_ex.c... compiling stm32f1xx_hal_rtc.c... compiling stm32f1xx_hal_spi.c... compiling stm32f1xx_hal_uart.c... compiling system_stm32f1xx.c... compiling stm32f1xx_hal_i2c.c... "john103C6T6\john103C8T6.axf" - 57 Error(s), 0 Warning(s).Software Packages used:
Package Vendor: ARM https://www.keil.com/pack/ARM.CMSIS.6.1.0.pack ARM::CMSIS@6.1.0 CMSIS (Common Microcontroller Software Interface Standard) * Component: CORE Version: 6.1.0 Package Vendor: Keil http://www.keil.com/pack/Keil.STM32F1xx_DFP.2.4.0.pack Keil::STM32F1xx_DFP@2.4.0 STMicroelectronics STM32F1 Series Device Support, Drivers and ExamplesCollection of Component include folders:
./RTE/_john103C6T6 C:/Keil_v5_41/ARM/Packs/ARM/CMSIS/6.1.0/CMSIS/Core/Include C:/Keil_v5_41/ARM/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/IncludeCollection of Component Files used:
* Component: ARM::CMSIS:CORE@6.1.0 Include file: CMSIS/Core/Include/tz_context.h Target not created. Build Time Elapsed: 00:00:05